package com.boot.Mapper;

import com.boot.pojo.Year;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Mapper
@Repository
public interface YearMapper {
    public void addYear(@Param("info") HashMap<String, Object> info);

    public List<Year> getYear(@Param("id") Integer id);
}
